package com.amesit.service.privilege.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.amesit.bean.privilege.SystemPrivilege;
import com.amesit.service.base.DaoSupport;
import com.amesit.service.privilege.SystemPrivilegeService;

@Service @Transactional
public class SystemPrivilegeServiceBean extends DaoSupport implements
		SystemPrivilegeService {
	
	public void saves(List<SystemPrivilege> privileges){
		for(SystemPrivilege p : privileges){
			super.save(p);
		}
	}
}
